// 代码风格
@import "./theme.scss";

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  line-height: 1.5em;
  border: 1px solid rgba(239, 239, 245, 1);


  td,
  th,
  tbody,
  thead {
    // border-bottom: 0px;
    padding: 0.6em 1em;
    text-align: center;
    max-width: 250px;
    white-space: pre-wrap;
  }

  thead {
    font-size: 14px;
    color: rgb(61, 65, 68);
    border-bottom: 1px solid rgba(239, 239, 245, 1);
    ;
    background-color: rgb(244, 244, 245);
  }
}

::-webkit-scrollbar {
  display: none;
}

.ml-10 {
  margin-left: 10px;
}

.ml-20 {
  margin-left: 20px;
}

.mr-10 {
  margin-right: 10px;
}

.mr-20 {
  margin-right: 20px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}


.pl-10 {
  padding-left: 10px;
}

.pl-20 {
  padding-left: 20px;
}

.pr-10 {
  padding-right: 10px;
}

.pr-20 {
  padding-right: 20px;
}

.pt-10 {
  padding-top: 10px;
}

.pt-20 {
  padding-top: 20px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pb-20 {
  padding-bottom: 20px;
}

.l-hegight {
  line-height: 32px;
}

.block {
  display: block;
}

.container {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
  align-items: flex-start;
}

.container-gird {
  display: grid;
  gap: 16px;
  grid-template-columns: 100%;
}

.source {
  padding: 30px 15px;
  margin-top: 5px;
  border: 1px solid #f0f0f0;
  // border-bottom: 0px;
  border-radius: 4px 4px 0 0;
  box-sizing: border-box;

  .z-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0 16px 0;
    color: rgb(51, 54, 57);
  }

  .z-text--code {
    line-height: 1.4;
    display: inline-block;
    transition: color .3s var(0.4, 0, 0.2, 1), border-color .3s var(0.4, 0, 0.2, 1), background-color .3s var(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    padding: 0.05em 0.35em 0 0.35em;
    border-radius: 2px;
    font-size: .9em;
    color: rgb(51, 54, 57);
    background-color: rgb(238 238 241);
    border: 1px solid #0000;
  }

  .z-text-fs18 {
    font-size: 18px;
  }
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset;
}